package com.zt.springcloud.service.Impl;

import com.zt.springcloud.entity.Role;
import com.zt.springcloud.mapper.RoleMapper;
import com.zt.springcloud.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @author RedReins
 * @version 1.0
 * @description: TODO
 * @date 2021/8/28 19:59
 */
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;
    @Override
    public Set<Role> getRolePermission(Long id) {
        return roleMapper.getRolePermission(id);
    }
}
